$OpenBSD: patch-src_utils_aLinkCreator_docs_Makefile_in,v 1.3 2016/09/19 14:06:53 dcoppa Exp $
--- src/utils/aLinkCreator/docs/Makefile.in.orig	Mon Sep 19 12:54:43 2016
+++ src/utils/aLinkCreator/docs/Makefile.in	Mon Sep 19 12:56:51 2016
@@ -497,39 +497,20 @@ uninstall-am:
 install-data-hook:
 	@test -z "`echo $(SELECTED_MANPAGES)`" || \
 	for file in $(SELECTED_MANPAGES); do \
-		lang=`echo $$file |  sed -e 's/^[^.]*\.//'`; \
-		if test $$lang = 1; then \
-			echo " $(mkinstalldirs) $(DESTDIR)$(mandir)/man1" ; \
-			$(mkinstalldirs) $(DESTDIR)$(mandir)/man1 ; \
-			if test -f $(srcdir)/$$file; then name=$(srcdir)/$$file; \
-			else name=$$file; fi; \
-			inst=`echo $$file | sed -e "s/\.1//" -e '$(transform)'`.1 ; \
-			echo " $(INSTALL_DATA) $$name $(DESTDIR)$(mandir)/man1/$$inst" ; \
-			$(INSTALL_DATA) $$name $(DESTDIR)$(mandir)/man1/$$inst ; \
-		else \
-			locale=`echo $$lang | sed -e 's/\..*//'` ; \
-			echo " $(mkinstalldirs) $(DESTDIR)$(mandir)/$$locale/man1" ; \
-			$(mkinstalldirs) $(DESTDIR)$(mandir)/$$locale/man1 ; \
-			if test -f $(srcdir)/$$file; then name=$(srcdir)/$$file; \
-			else name=$$file; fi; \
-			inst=`echo $$file | sed -e "s/\.$${locale}\.1//" -e '$(transform)'`.1 ; \
-			echo " $(INSTALL_DATA) $$name $(DESTDIR)$(mandir)/$$locale/man1/$$inst" ; \
-			$(INSTALL_DATA) $$name $(DESTDIR)$(mandir)/$$locale/man1/$$inst ; \
-		fi; \
+		echo " $(mkinstalldirs) $(DESTDIR)$(mandir)/man1" ; \
+		$(mkinstalldirs) $(DESTDIR)$(mandir)/man1 ; \
+		if test -f $(srcdir)/$$file; then name=$(srcdir)/$$file; \
+		else name=$$file; fi; \
+		inst=`echo $$file | sed -e "s/\.1//" -e '$(transform)'`.1 ; \
+		echo " $(INSTALL_DATA) $$name $(DESTDIR)$(mandir)/man1/$$inst" ; \
+		$(INSTALL_DATA) $$name $(DESTDIR)$(mandir)/man1/$$inst ; \
 	done
 
 uninstall-hook:
 	@test -z "`echo $(SELECTED_MANPAGES)`" || \
 	for file in $(SELECTED_MANPAGES); do \
-		lang=`echo $$file |  sed -e 's/^[^.]*\.//'`; \
-		if test $$lang = 1; then \
-			inst=`echo $$file | sed -e "s/\.1//" -e '$(transform)'`.1 ; \
-			rm -f $(DESTDIR)$(mandir)/man1/$$inst ; \
-		else \
-			locale=`echo $$lang | sed -e 's/\..*//'` ; \
-			inst=`echo $$file | sed -e "s/\.$${locale}\.1//" -e '$(transform)'`.1 ; \
-			rm -f $(DESTDIR)$(mandir)/$$locale/man1/$$inst ; \
-		fi; \
+		inst=`echo $$file | sed -e "s/\.1//" -e '$(transform)'`.1 ; \
+		rm -f $(DESTDIR)$(mandir)/man1/$$inst ; \
 	done
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
